package com.utils;

public class SoundLine {
	private int position;
	private int halfLength;

	public SoundLine(int x, int halfLength)
	{
		this.setPosition(x);
		this.setHalfLength(halfLength);
	}

	public void setPosition(int x) {
		this.position = x;
	}

	public int getPosition() {
		return position;
	}

	public void setHalfLength(int halfLength) {
		this.halfLength = halfLength;
	}


	public int getHalfLength() {
		return halfLength;
	}
	public int getLength()
	{
		return halfLength * 2;
	}
}
